<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>自定义异常页面</title>
</head>

<body>
<h3>自定义异常页面,修改了部分内容...</h3>
<div th:text="${errorMsg}" style="background-color: papayawhip;width: 300px;height: 100px;">

</div>
</body>

</html>